/**************************************************************************************************
  Filename:       irc_CmdSend.h
  Revised:        $Date: 2014-06-21 15:20:27 $
  Revision:       $Revision: 1.00 $

  Description:    Send IR Uart Command.

**************************************************************************************************/

#ifndef IRC_CMDSEND_H
#define IRC_CMDSEND_H

/*********************************************************************
 * INCLUDES
 */
#include "dataType.h"


/*********************************************************************
 * CONSTANTS
 */

#ifndef ZIGBEE_IRC_PRO
#define  USART_PORT  USART1
#else
#define  USART_PORT  USART2
#define  PC_USART_PORT  USART1
#endif



/*********************************************************************
 * MACROS
 */

/*********************************************************************
 * FUNCTIONS
 */



void irc_CmdSendCfm(uint16 opcode,uint8 status);

void  irc_PCCmdSendCfm(uint16 opcode,uint8 status);

void  irc_LocalLearnEndInd(UINT8 status,UINT8 storeAddr);

void  irc_RemoteLearnDataInd(UINT16 *buf, UINT16 len,UINT16 *table, UINT8 tableLen, UINT32 hz);

void  irc_UPLoadLearnDataInd(uint8 addr,UINT16 *buf, UINT16 len);

void  irc_UPLoadLearnDataIndComplete(void);


/*********************************************************************
*********************************************************************/

#endif /* IRC_CMDSEND_H */

